Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add corner-case tests for fixed type conversion #468

Merged
merged 2 commits into from
Feb 24, 2022

Conversation

maltekliemann
Copy link
Member

We also change the way that tests are arranged. This is a bit of a half-measure (macros or using a testing framework would be a more idomatic long-term solution), but it serves one particular purpose in this case: Previously, if the vector with the correct results was too short, the test would be ignored. This is now impossible.

Otherwise, if test_vector and and the vector of correct values have
different length, some tests are ignored.
@maltekliemann maltekliemann added the s:review-needed The pull request requires reviews label Feb 24, 2022
Copy link
Member

@sea212 sea212 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@sea212 sea212 added s:accepted This pull request is ready for merge and removed s:review-needed The pull request requires reviews labels Feb 24, 2022
@sea212 sea212 added this to the v0.3.0 milestone Feb 24, 2022
@maltekliemann maltekliemann merged commit 314b857 into zeitgeistpm:main Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s:accepted This pull request is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants